package com.java.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/***
 * 入库和出库
 */
public class IntoAndOut {
    private Integer gid;
    private Integer egid;//外键
    private String documentid;//单据编号
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date data1;//时间
    private Integer stores;//门店
    private Integer rid;//仓库
    private Integer from1;//供应商
    private String good;//商品名称
    private Integer goodstyle;//商品类型
    private Integer num;//数量
    private Integer okandno;//是否出库

    @Override
    public String toString() {
        return "IntoAndOut{" +
                "gid=" + gid +
                ", egid=" + egid +
                ", documentid='" + documentid + '\'' +
                ", data1=" + data1 +
                ", stores=" + stores +
                ", rid=" + rid +
                ", from1=" + from1 +
                ", good='" + good + '\'' +
                ", goodstyle=" + goodstyle +
                ", num=" + num +
                ", okandno=" + okandno +
                '}';
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getEgid() {
        return egid;
    }

    public void setEgid(Integer egid) {
        this.egid = egid;
    }

    public String getDocumentid() {
        return documentid;
    }

    public void setDocumentid(String documentid) {
        this.documentid = documentid;
    }

    public Date getData1() {
        return data1;
    }

    public void setData1(Date data1) {
        this.data1 = data1;
    }

    public Integer getStores() {
        return stores;
    }

    public void setStores(Integer stores) {
        this.stores = stores;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getFrom1() {
        return from1;
    }

    public void setFrom1(Integer from1) {
        this.from1 = from1;
    }

    public String getGood() {
        return good;
    }

    public void setGood(String good) {
        this.good = good;
    }

    public Integer getGoodstyle() {
        return goodstyle;
    }

    public void setGoodstyle(Integer goodstyle) {
        this.goodstyle = goodstyle;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getOkandno() {
        return okandno;
    }

    public void setOkandno(Integer okandno) {
        this.okandno = okandno;
    }
}
